package demo;

import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;

public class demo2 {
    public static void main(String[] args) throws IOException {
        /*Path source = Paths.get("E:\\netty\\data.txt");
        System.out.println(Files.exists(source));*/

        //创建目录helloNetty--test
        Path path = Paths.get("helloNetty/test");
        Files.createDirectory(path);
    }
}
